package com.ssm.entity;

import java.math.BigDecimal;
import java.util.Date;

public class Course {
    private Integer courseId;
    private String course_name;
    private BigDecimal credit;
    private String teacher_name;
    private String description;
    private int cid;
    private Date create_time;
    
    // 关联属性
    private StudentCategory category;
    
    public Integer getCourseId() {
        return courseId;
    }
    
    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }
    
    public int getCourse_id() {
        return courseId;
    }
    
    public void setCourse_id(int course_id) {
        this.courseId = course_id;
    }
    
    public String getCourse_name() {
        return course_name;
    }
    
    public void setCourse_name(String course_name) {
        this.course_name = course_name;
    }
    
    public BigDecimal getCredit() {
        return credit;
    }
    
    public void setCredit(BigDecimal credit) {
        this.credit = credit;
    }
    
    public String getTeacher_name() {
        return teacher_name;
    }
    
    public void setTeacher_name(String teacher_name) {
        this.teacher_name = teacher_name;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public int getCid() {
        return cid;
    }
    
    public void setCid(int cid) {
        this.cid = cid;
    }
    
    public Date getCreate_time() {
        return create_time;
    }
    
    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
    
    public StudentCategory getCategory() {
        return category;
    }
    
    public void setCategory(StudentCategory category) {
        this.category = category;
    }
} 